<template>
  <div class="slideDialog_wrap">
     <div class="slideDialog_content">
        <h2 class="slideDialog_contentTitle"><i @click="close" class="slideDialog_close iconfont icon-yuanjiaojuxingkaobei"></i> 每日任务—收集片区使用量 <span>已完成</span> </h2>
        <div class="slideDialog_main">
          <task-add v-if="(dialogType === 'newTask')" :close="close"></task-add>
          <taskOngoing-dialog v-if="(dialogType === 'dialog-taskOngoing')" :close="close"></taskOngoing-dialog>
        </div>
     </div>
  </div>
</template>
<script>
import taskAdd from './task_add'
//import taskOngoingDialog from './taskOngoing_dialog'
import taskOngoingDialog from '@/components/task-dialog/task_dialog'
export default {
  props:["slideDialogVisible","prposData","dialogType"],
  data(){
    return{
    }
  },
  methods:{
    close(){
        this.$emit('update:slideDialogVisible', false)
    }
  },
  components:{
    taskAdd,
    taskOngoingDialog
  },
  created(){
  }
}
</script>
<style lang="scss">
  @import "./slide.scss";
</style>
